import Vue from "vue";
import App from "./App.vue";
import router from "@/router";
import ElementUI from "element-ui";
import VueCountdown from "@chenfengyuan/vue-countdown";
import VueResource from "vue-resource";
import "./theme/elementUI/index.css";
import "@/assets/style.css";
import * as echarts from "echarts";
import axios from "axios";
Vue.use(VueResource);
Vue.prototype.$axios = axios;
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);
Vue.component(VueCountdown.name, VueCountdown);
// axios.defaults.baseURL = "/api";

new Vue({
  render: (h) => h(App),
  router,
}).$mount("#app");
